#!/usr/bin/env bash

export LANG=en_US.UTF-8
cd /wapp/uniiof/users/spider/woego-spider/spider2/spider

for f in lib/*.jar; do
        CLASSPATH=${CLASSPATH}:$f;
done

CLASSPATH=$CLASSPATH:target/spider.jar

CURR_DATE=$(date +%Y-%m-%d)
echo $CURR_DATE
CURR_DATE_INFO_DIR=../info/$CURR_DATE/jd
java -classpath ${CLASSPATH} v2.JdMain jdpp1.txt  utf-8 $CURR_DATE_INFO_DIR
